package com.lipiao.traveltreasure;

import com.lipiao.traveltreasure.util.LogUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.lipiao.traveltreasure.dao") //扫描Mapper接口
public class TravelTreasureApplication {
    public static void main(String[] args) {
        //初始化LogUtil单例
        LogUtil.getInstance();
        SpringApplication.run(TravelTreasureApplication.class, args);
    }

}